package com.itwelkin.ssm.mapper;

import com.itwelkin.ssm.model.Admin;
import com.itwelkin.ssm.model.Condition;

import java.util.List;

public interface AdminMapper {
        Admin queryUserByUsername(String username);

        Admin queryUserByUsernameAndPassword(Admin adminUser);

        Admin queryEmail(String email);

        void addAdminUser(Admin adminUser);

        void updateAdminUser(Admin adminUser);

        Admin queryUserByCode(String code);


        List<Admin> queryAdminUser();


        Admin queryUserById(String id);

    List<Admin> queryUserByIds(String[] ids);


    List<Admin> queryUserByCondition(Condition condition);
}
